#include <stdio.h>
#include <stdlib.h>

#define MAX_ORDER 10
#define MAX_YEAR 111
#define MAX_DAY 32
#define MAX_MONTH 13
#define MAX_TIME 60


struct date 
{
  int min;
  int hour;
  int day;
  int month;
  int year;
};

typedef struct date date;

int compare_date(date A, date B); //TESTED

date new_date(int d, int M, int y, int h, int m);  //TESTED

int convert_date(int d); //DONE

 
